import request from "@/utils/request";
// 组件修改记录列表
export function changelogs(data) {
  return request({
    url: "/ttadmin/component/changelogs",
    method: "post",
    data,
  });
}
// 组件版本修改记录列表
export function versionChangelogs(data) {
  return request({
    url: "/ttadmin/componentVersion/changelogs",
    method: "post",
    data,
  });
}
// 组件上下架记录列表
export function availableChanges(data) {
  return request({
    url: "/ttadmin/componentVersion/availableChanges",
    method: "post",
    data,
  });
}
// 组件版本上线审批记录列表查询
export function releaseApprovalRecords(data) {
  return request({
    url: "/ttadmin/componentVersion/releaseApprovalRecords",
    method: "post",
    data,
  });
}
// 组件版本下载审批记录列表查询
export function downloadApprovalRecords(data) {
  return request({
    url: "/ttadmin/componentVersion/downloadApprovalRecords",
    method: "post",
    data,
  });
}
// 组件版本详情
export function componentVersionsDetails(data) {
  return request({
    url: "/ttadmin/componentVersion/componentVersionsDetails",
    method: "post",
    data,
  });
}
